/**
 * 
 */
package org.lanqiao.netctoss.service;

import java.util.List;

import org.lanqiao.netctoss.entity.Admin;
import org.lanqiao.netctoss.entity.Permiss;

/**
 * @author Administrator
 *
 */
public interface PermissService {
	/**
	 * 增加权限
	 * @param permiss
	 * @return
	 */
	public int insertPermiss(Permiss permiss);
	/**
	 * 删除权限
	 * @param permiss
	 * @return
	 */
	public int deletePermiss(Permiss permiss);
	/**
	 * 修改权限
	 * @param permiss
	 * @return
	 */
	public int updatePermiss(Permiss permiss);
	/**
	 * 查询权限
	 * @param permiss
	 * @return
	 */
	public List<Permiss> selectPermiss();
	/**
	 * 按管理员查询权限
	 * @param permiss
	 * @return
	 */
	public List<Permiss> selectPermissByAdmin(Admin admin);
}
